file = open('D:\\work_space\\test.txt','r',encoding='utf-8')
l = None
while (l := file.readline())!='':
    print(l,end = '')

file.close()